package com.platform.comm.service;

import com.platform.comm.entity.CommBatchInfoEntity;

import java.util.List;

public interface ICommBatchInfoBiz extends CommonBiz<CommBatchInfoEntity,String> {

     CommBatchInfoEntity createExportDirJob(CommBatchInfoEntity dirBatchInfoEntity);

     /**
      * 获取正在运行的批处理任务
      * @return
      */
     List<CommBatchInfoEntity> queryBatchJobForRunning();

     /**
      * 将处于运行状态的任务终止为失败状态
      * @param list
      */
     void failedBatchJobForRunning(List<CommBatchInfoEntity> list);




}
